package com.hk.employeemanagementsystem.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hk.employeemanagementsystem.dto.AdvanceSearchEmpDto;
import com.hk.employeemanagementsystem.entity.EmployeeEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author by 何坤
 * @Classname EmployeeEntityMapper
 * @Description TODO
 * @Date 2019/12/19 11:16
 */
@Mapper
public interface EmployeeEntityMapper extends BaseMapper<EmployeeEntity> {
    List<EmployeeEntity> selectAllEmployee();
    EmployeeEntity getEmployeeById(Integer id);
    List<EmployeeEntity> selectEmployeeByWorkId(String workId);
    List<EmployeeEntity> advanceSearchEmp(AdvanceSearchEmpDto advanceSearchEmpDto);
}
